<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
    <meta name="keywords" content="<?php echo $SEO['keyword'];?>">
    <meta name="description" content="<?php echo $SEO['description'];?>">
    <link rel="stylesheet" href="<?php echo TPL_CSS;?>common.css" />
    <link rel="stylesheet" href="<?php echo TPL_CSS;?>about.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo TPL_LIB;?>slick.css"/>
    <link rel="stylesheet" type="text/css" href="<?php echo TPL_LIB;?>slick-theme.css"/>
    <link rel="stylesheet" type="text/css" href="<?php echo TPL_CSS;?>index.css"/>
</head>
<body>
    <div id="header">
        <div class="l_con">
            <h1><a href="index.html"><img src="<?php echo TPL_IMG;?>logo.png" width="140" height="57"/></a></h1>
        </div>  
    </div>
    <div id="nav">
        <div class="iconindex">
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b43f1459ac702900c8d44c91a5e796dd&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
            <ul class="clearfix">
                <li class="nav_li"><a href="<?php echo siteurl($siteid);?>">首页</a></li>
                <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                <li class="nav_li"><a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a>
                <?php if($r[arrchildid]) { ?> 
                    <!--是否有子栏目-->
                    <ul class="hide clearfix <?php if($r[catid]==64) echo 'onlynav';?>">
                        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=562eba0525a72e8a95a03bd7c7d4da01&action=category&catid=%24r%5Bcatid%5D&num=15&siteid=%24siteid&order=listorder+ASC&return=data2\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data2 = $content_tag->category(array('catid'=>$r[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'15',));}?>
                        <?php $n=1;if(is_array($data2)) foreach($data2 AS $v) { ?>
                        <!--子栏目循环开始-->
                        <li><a href="<?php echo $v['url'];?>"><?php echo $v['catname'];?></a></li>
                        <?php $n++;}unset($n); ?>
                        <!--子栏目循环结束-->
                        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    </ul>
                <?php } ?>
                </li>
                <?php $n++;}unset($n); ?>
            </ul>
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            <?php echo runhook('glogal_menu')?>
        </div>
    </div>